all: clean idl main


main:
	go build -o build/main.exe main.go client.go
idl:
	thrift --gen go -out $(GOPATH)/src/ IDL/calc.thrift

clean:
	rm -rf ./gen-go
	rm -rf ./IDL/gen-go
	rm -rf ./build
	rm -rf $(GOPATH)/src/calc
